import VueRouter from 'vue-router';
import Foo from './components/Foo';
import Bar from './components/Bar';

Vue.use(VueRouter);
const router = new VueRouter({
  history: true,
  saveScrollPosition: false,
});

router.map({
  '/foo': {
    component: Foo
  },
  '/bar': {
    component: Bar
  }
});

export default router;